#pragma once

#include <exception>
#include <string>

class InvalidXMLFormatException : public std::exception
{
	public:
		InvalidXMLFormatException(std::string theMessage)
		{
			myMessage = "InvalidXMLFormat Exception:" + theMessage;
		}

		~InvalidXMLFormatException() throw()
		{}

		virtual const char* what() const throw()
		{
			return myMessage.c_str();
		}

	private:
		std::string myMessage;
};
